﻿//------------------------------------------------------------
// Author: 烟雨迷离半世殇
// Mail: 1778139321@qq.com
// Data: 2019年12月30日 21:31:41
//------------------------------------------------------------

using System;


namespace NKG_MVVM_UI
{
    /// <summary>
    /// 其中的BindablePropertys集合起来就是他的Model
    /// </summary>
    public class Test01AViewModel : AViewModel
    {
        public BindableProperty<string> Text = new BindableProperty<string>();
        public BindableProperty<int> Image = new BindableProperty<int>();

        public Test01Model Test01ModelRef;

        public override void OnInit()
        {
            Console.WriteLine("Test01AViewModel初始化了");
        }

        public override void OnRecycle()
        {
            Console.WriteLine("Test01AViewModel被回收了");
        }
    }
}